<template lang="">
    <div>
        <h2 @click="showName">姓名:{{name}}</h2>
        <h2>性别:{{sex}}</h2>
    </div>
</template>
<script>
    import {mixin,mixin2} from '../mixin';
    export default {
        name:"Student",
        data(){
            return{
                name:'Ella',
                sex:"nv"
            }
        },
        mixins:[mixin,mixin2]
    }
</script>
<style lang="">
    
</style>